package org.chintoooor.trio.server.http.processor;

import org.chintoooor.trio.server.http.HttpRequest;
import org.chintoooor.trio.server.http.HttpResponse;

public class DummyResponseProcessor implements HttpRequestProcessor {

	@Override
	public HttpResponse process(HttpRequest httpRequest) {
		HttpResponse httpResponse = new HttpResponse();
		httpResponse.setHttpVersion(httpRequest.getHttpVersion());
		httpResponse.setResponseCode(200);
		httpResponse.setResponseMessage("OK");
		httpResponse
				.setResponseMessage("<html><title>Hello World</title></html>");
		return httpResponse;
	}

}
